import Vue from "vue";
import VueRouter from "vue-router";
import test from "../Test";
import result from "../result";
import student from "@/test/student";
import school from "@/test/school";

Vue.use(VueRouter);
const routes = [
    {
        path: "/",
        name: "Test",
        component: test,
        meta: {
            title: "index"
        }
    },
    {
        path: "/result",
        name: "result",
        component: result,
        meta: {
            title: "result"
        }

    },


    {
        path: "/student",
        name: "student",
        component: student,
        meta: {
            title: "index"
        }
    },
    {
        path: "/school",
        name: "school",
        component: school,
        meta: {
            title: "school"
        }
    },


]

const router = new VueRouter({
    mode: "history",
    routes,
});
export default router;
